package chixing.day09.homework.work5;

import chixing.day09.homework.work5.Product;

public class ClothingProduct extends Product {
    public ClothingProduct() {
    }

    public ClothingProduct(String proId, String proName, float proPrice) {
        super(proId, proName, proPrice);
    }

    //所有商品价格减半
    @Override
    public double getDiscountedPrice() {
        return super.getProPrice() * 0.5;
    }
}
